/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 */
package org.nanhill.commons.pattern.flow;

/**
 * 
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 * 
 */
public interface Event {

	/**
	 * Get event to state.
	 * 
	 * @return to state.
	 */
	State getTo();

	/**
	 * Get event from state.
	 * 
	 * @return
	 */
	State getFrom();

	/**
	 * @return
	 */
	String getId();
	
	String getOn();

}
